This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class CFObject | ||||
class, CoreFoundation | Di, 6. Aug 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
A class for a core foundation object. | ||||
Example:
// is object is a cfstring, return it a Realbasic string. Function st(o as cfobject) As string dim s as cfstring if o<>Nil then s=o.cfstring if s<>Nil then return s.str end if end if End Function | ||||
Notes:
If the release property is true, the destructor of this class will release the object reference. | ||||
CFArray as CFArray | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFArray, you can get a Realbasic CFArray object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFArrayTypeID then return CFArray(o) end if But this cast will fail if this object is not a CFArray object in Realbasic. | ||||
CFBag as CFBag | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFBag, you can get a Realbasic CFBag object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFBagTypeID then return CFBag(o) end if But this cast will fail if this object is not a CFBag object in Realbasic. | ||||
CFBinary as CFBinary | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFBinary, you can get a Realbasic CFBinary object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFBinaryDataTypeID then return CFBinary(o) end if But this cast will fail if this object is not a CFBinary object in Realbasic. | ||||
CFBoolean as CFBoolean | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFBoolean, you can get a Realbasic CFBoolean object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFBooleanTypeID then return CFBoolean(o) end if But this cast will fail if this object is not a CFBoolean object in Realbasic. | ||||
CFDate as CFDate | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFDate, you can get a Realbasic CFDate object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFDateTypeID then return CFDate(o) end if But this cast will fail if this object is not a CFDate object in Realbasic. | ||||
CFDictionary as CFDictionary | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFDictionary, you can get a Realbasic CFDictionary object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFDictionaryTypeID then return CFDictionary(o) end if But this cast will fail if this object is not a CFDictionary object in Realbasic. | ||||
CFNumber as CFNumber | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFNumber, you can get a Realbasic CFNumber object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFNumberTypeID then return CFNumber(o) end if But this cast will fail if this object is not a CFNumber object in Realbasic. | ||||
CFSet as CFSet | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFSet, you can get a Realbasic CFSet object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFSetTypeID then return CFSet(o) end if But this cast will fail if this object is not a CFSet object in Realbasic. | ||||
CFString as CFString | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFString, you can get a Realbasic CFString object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFStringTypeID then return CFString(o) end if But this cast will fail if this object is not a CFString object in Realbasic. | ||||
CFURL as CFURL | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
If this CFObject contains a reference to a CFURL, you can get a Realbasic CFURL object for it using this function. | ||||
Notes:
You could translate this like this: dim o as cfobject ... if o.type=kCFURLTypeID then return CFURL(o) end if But this cast will fail if this object is not a CFURL object in Realbasic. | ||||
Equal(o as CFObject) as boolean | ||||
method, CoreFoundation | Di, 6. Aug 2002 | |||
Mac OS Classic: -> false. | Mac OS Carbon: Works. | Windows: -> false. | ||
Function:
Returns true if both CFObjects are equal in type and content. | ||||
Handle as integer | ||||
property, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
The core foundation object references. | ||||
Hash as integer | ||||
method, CoreFoundation | Di, 6. Aug 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: Works. | Windows: -> 0. | ||
Function:
Returns a hash code for this object. | ||||
Release as boolean | ||||
property, CoreFoundation | Sa, 27. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
whether or not to release the core foundation object when the destructor of the Realbasic CFObject is called. | ||||
ReleaseObject | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
Decreases the retain count of this object. | ||||
Notes:
If the retain count falls below 1, the object is destroyed. | ||||
RetainCount as integer | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
Returns the reference counter of the object. | ||||
Notes:
If the retain count falls below 1, the object is destroyed. | ||||
RetainObject | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
Increases the retain count of this object. | ||||
Notes:
If the retain count falls below 1, the object is destroyed. | ||||
Type as integer | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
Returns the Type ID for this object. | ||||
TypeDescription as CFString | ||||
method, CoreFoundation | So, 21. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Works. | Windows: Does nothing. | ||
Function:
Returns the type description for this object. | ||||
Notes:
e.g. "CFString" or "CFNumber". |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.